package com.hdoit.kylin.logical.groupActivity.service.impl;

import java.util.List;

import javax.annotation.Resource;

import org.springframework.stereotype.Component;

import com.tennetcn.common.dao.base.impl.SuperService;
import com.tennetcn.common.message.PagerModel;
import com.hdoit.kylin.logical.groupActivity.dao.IGroupDutyDao;
import com.hdoit.kylin.logical.groupActivity.model.GroupDuty;
import com.hdoit.kylin.logical.groupActivity.service.IGroupDutyService;
import com.hdoit.kylin.logical.viewmodel.groupActivity.GroupDutySearch;

/**
 * @author guoshuren
 * @email
 * @createtime 2018年03月07日 16:18:23
 * @comment
 */
@Component
public class GroupDutyServiceImpl extends SuperService<GroupDuty> implements
		IGroupDutyService {

	private IGroupDutyDao groupDutyDao;
	
	
	public IGroupDutyDao getGroupDutyDao() {
		return groupDutyDao;
	}

	@Resource
	public void setGroupDutyDao(IGroupDutyDao groupDutyDao) {
		this.groupDutyDao = groupDutyDao;
	}


	@Override
	public List<GroupDuty> queryList(GroupDutySearch search,
			PagerModel pagerModel) {
		return groupDutyDao.queryList(search, pagerModel);
	}

}